<h1>{{editType}}角色</h1>
<form name="userForm" novalidate>

    <div class="form-group">
        <label class="control-label">角色名称<span class="need">*</span></label>
        <input type="text" class="form-control" name="name" ng-model="role.name" />
    </div>

    

        <div class="form-group" >
            <label class="control-label">权限</label>
                <div class="checkbox">
                    <label>
                        <input type="checkbox" ng-model="role.candos.create">
                         新建
                    </label>
                </div>
                <div class="checkbox">
                    <label>
                        <input type="checkbox" ng-model="role.candos.update">
                        修改
                    </label>
                </div>
                <div class="checkbox" >
                    <label>
                        <input type="checkbox" ng-model="role.candos.delete">
                        删除
                    </label>
                </div>

        </div>
          



    

        <div class="mt20 fix">
            <button class="btn btn-primary" ng-click="save()">保存</button>
            <button class="btn btn-link" ng-click="reset()">重置</button>
        </div>

</form>



